Crate wasmtime_types

source ·
Expand description

Internal dependency of Wasmtime and Cranelift that defines types for WebAssembly.

Re-exports§

Macros§

  • Return an Err(WasmError::Unsupported(msg)) where msg the string built by calling format! on the arguments to this macro.

Structs§

  • Index type of a passive data segment inside the WebAssembly module.
  • Index type of a defined function inside the WebAssembly module.
  • Index type of a defined global inside the WebAssembly module.
  • Index type of a defined memory inside the WebAssembly module.
  • Index type of a defined table inside the WebAssembly module.
  • Index type of a passive element segment inside the WebAssembly module.
  • Index type of a function (imported or defined) inside the WebAssembly module.
  • A WebAssembly global.
  • Index type of a global variable (imported or defined) inside the WebAssembly module.
  • WebAssembly linear memory.
  • Index type of a linear memory (imported or defined) inside the WebAssembly module.
  • Index type of a defined memory inside the WebAssembly module.
  • Index type of a signature (imported or defined) inside the WebAssembly module.
  • Index into the global list of modules found within an entire component.
  • WebAssembly table.
  • Index type of a table (imported or defined) inside the WebAssembly module.
  • WebAssembly event.
  • Index type of an event inside the WebAssembly module.
  • Index type of a type inside the WebAssembly module.
  • WebAssembly function type – equivalent of wasmparser’s FuncType.
  • WebAssembly reference type – equivalent of wasmparser’s RefType

Enums§

  • An index of an entity.
  • A type of an item in a wasm module where an item is typically something that can be exported.
  • Globals are initialized via the const operators or by referring to another import.
  • A WebAssembly translation error.
  • WebAssembly heap type – equivalent of wasmparser’s HeapType
  • WebAssembly value type – equivalent of wasmparser’s Type.

Traits§

  • Helpers used to convert a wasmparser type to a type in this crate.

Type Aliases§

  • A convenient alias for a Result that uses WasmError as the error type.